<template>
  <div>
    <lg-header :titleType="1" title="充值余额"></lg-header>
    <div class="fixed-top">
      <h1 class="tc mt-30 surplus">当前余额：200元</h1>
      <div class="con-pd">
        <div class="gray">充值金额</div>
        <div class="input-box d-flex f-align mt-20">
          <span class="rmb">¥</span>
          <van-field v-model="money" placeholder="请输入充值金额" class="fs-20" />
        </div>
        <pay-mode class="mt-60"></pay-mode>
        <div class="mt-60 pl-30 pr-30">
          <van-button block type="primary">升级会员</van-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { Field, Button } from "vant";
import payMode from "@/components/payMode";
export default {
  components: {
    [Field.name]: Field,
    [Button.name]: Button,
    payMode
  },
  data() {
    return {
      money: ""
    };
  }
};
</script>

<style scoped lang="scss">
.surplus {
  font-size: 26px;
}
.con-pd {
  padding: 40px 15px 0;
}
.mt-60 {
  margin-top: 60px;
}
.input-box {
  border-bottom: 1px solid #bbb;
  .rmb {
    font-size: 30px;
  }
}
</style>
